package com.tedu.project5.service;

import com.tedu.project5.common.Result;
import com.tedu.project5.dto.QueryRoleDTO;
import com.tedu.project5.dto.RoleDTO;
import com.tedu.project5.model.DdRole;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mhg
 * @since 2022-06-13
 */
public interface IDdRoleService extends IService<DdRole> {

    Result queryExample(QueryRoleDTO dto);

    Result saveRole(DdRole role);

    Result updateRole(RoleDTO dto);

    Result deleteRole(String id);
}
